package cn.edu.neu.studentmsg_java.dao;

import cn.edu.neu.studentmsg_java.model.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MCDao {
    int insertMC(Course course);

    int deleteMCByCourseId(Integer course_id);

    List<Integer> selectCourseIdByMajorId(int major_id);

    String selectMajorNameByCourseId(Integer course_id);

    Course selectCourseByCourseId(Integer course_id);

    int updateMCByCourseId( Course course);
}
